package com.jspx.txweb.evasive.condition;

import com.jspx.txweb.util.RequestUtil;
import com.jspx.utils.StringUtil;

/**
 * Created by Administrator on 2017/6/15.
 *
 */
public class SessionDecide extends AbstractDecide  {

    public boolean execute()
    {
        if (StringUtil.isNULL(content)) return false;
        String value = (String)request.getSession().getAttribute(content);
        return value!=null&&value.toLowerCase().contains(value.toLowerCase());
    }
}
